package com.xw.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description: 返回通用对象
 * @Author: y
 * @CreateDate: 9/13/21 9:25 AM
 * @Version: 1.0
 */
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResultVO<T> implements Serializable {

    private static final long serialVersionUID = 1954829064861679863L;

    private Integer code;

    private String msg;

    private Long total;

    private Integer totalPages;

    private T data;

}
